// import ajax from '@/utils/request.js'
import { ajax } from '@/plugins/request.js'

export const updateUser = (data) => {
  return ajax.put(`/api/user`, {
    ...data
  })
}
